<!-- 'display:inline-block;' looks nicer, but IE10 uniquely doesn't support it.  I hate Microsoft. -->
<div path="MEDIA_PATH" style='float:left; margin-left:2pt;margin-right:2pt;margin-top:2pt;margin-bottom:2pt;FILE_STYLE' >
    <a href="" onclick="javascript: showme(this.parentNode.getAttribute('path'),ORIENT_ANGLE,IMG_WIDTH,IMG_HEIGHT); return false;">
    <img style="text-align:center;" src="THUMB_BASE64" />
    <div style="color:#00ffff;font-size:16pt;white-space:nowrap;text-align:center;">FILE_TITLE</div>
    </a>
    <div style="color:#d0d0d0;font-size:8pt;white-space:nowrap;text-align:center;">{EXIF:DateTimeOriginal}</div>
    <div style='color:#d0d0d0;font-size:8pt;min-width:THUMB_SIZEpx;EXIF_DATA_STYLE'>
        <table align="center" border="0" >
            <tr><td><div align="right">Shutter:</div></td><td><div align="left">{EXIF:ExposureTime}</div></td>   <td><div align="right">F-stop:</div></td> <td><div align="left">{EXIF:FNumber}</div></td></tr>
            <tr><td><div align="right">ISO:</div></td>    <td><div align="left">{EXIF:ISOSpeedRatings}</div></td><td><div align="right">Foc.Len:</div></td><td><div align="left">{EXIF:FocalLength}</div></td></tr>
            <tr><td><div align="right">Program:</div></td><td><div align="left">{EXIF:ExposureProgram}</div></td><td><div align="right">Flash:</div></td>  <td><div align="left">{EXIF:Flash}</div></td></tr>
        </table>
        <div style='color:#00c000;font-size:8pt;text-align:center;GPS_LINK_CUSTOM'>
            <a target="_blank" href="https://maps.google.com?q={EXIF:GPSLatitude},{EXIF:GPSLongitude}&z=18&t=h">Google Maps</a>&nbsp;&nbsp;
            <a target="_blank" href="http://www.openstreetmap.org/?mlat={EXIF:GPSLatitude}&mlon={EXIF:GPSLongitude}&zoom=18&layers=M">OSM</a>&nbsp;&nbsp;
            <a target="_blank" href="http://maps.yahoo.com/place/?lat={EXIF:GPSLatitude}&lon={EXIF:GPSLongitude}&zoom=18&q1={EXIF:GPSLatitude},{EXIF:GPSLongitude}">Yahoo</a>&nbsp;&nbsp;
            <a target="_blank" href="http://bing.com/maps/default.aspx?cp={EXIF:GPSLatitude}~{EXIF:GPSLongitude}&dir={EXIF:GPSImgDirection}&lvl=18&style=h&q={EXIF:GPSLatitude},{EXIF:GPSLongitude}">Bing</a>
        </div>
    </div>
</div>
